home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12927 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: calvin.stemnet.nf.ca!jdeeley
  2. From: jdeeley@calvin.stemnet.nf.ca (J.Deeley)
  3. Newsgroups: comp.lang.c
  4. Subject: switching base 10 to hex
  5. Date: Wed, 03 Apr 1996 11:47:56 -0400
  6. Organization: I need to be organized?
  7. Message-ID: <4ju6a9$kl6@coranto.ucs.mun.ca>
  8. NNTP-Posting-Host: calvin.stemnet.nf.ca
  9. X-Newsreader: MacSOUP 1.0d7
  10.  
  11. Hello,
  12.  
  13. I read the faq (very interesting!) and also did a search at the Internet
  14. Public Library (at which I found some other realy neat info) but I am
  15. still stuck on this. Appologies if this is the wrong group to ask.
  16. Perhaps you could point me to the right group, or a web site with this
  17. info. I need?
  18.  
  19. I am teaching myself to program in C using a book that came with my
  20. compiler. In the book I just ran into a small section which deals with
  21. switching base 10 numbers to base two numbers (no problems there, thats
  22. easy) and also switching base 10 numbers to hexidecimal (base 16).
  23.  
  24. Agh! My book does a lousy job of explaining how that works, and one of
  25. the alternative explanations I found on the net does no better. Can
  26. someone give me a good, simple way to get a hexadecimal number from a
  27. normal number? Like the number 400 for instance? Go slow...
  28.  
  29. JD
  30.  
  31. -- 
  32. Caution...Newbie Programmer on Board!
  33. --
  34.  
  35.